package com.tm.d12_extends_override;

import java.util.ArrayList;

/**
 * 2024/5/19 Cjj 方法重写 8:56
 */
public class Test {
    public static void main(String[] args) {
        B b = new B();
        b.print1();
        b.print2(6,6);

        System.out.println("-------------");
        Student s = new Student("波妞", 19);
         System.out.println(s);

        ArrayList list = new ArrayList();
        list.add("java");
        System.out.println(list);

    }
}
